<?php

/**
 * @package   	JCE
 * @copyright 	Copyright (c) 2009-2013 Ryan Demmer. All rights reserved.
 * @license   	GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * JCE is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 */
defined('_JEXEC') or die('RESTRICTED');
?>
<table class="table table-striped">
    <thead>
        <tr>
            <th width="20px" align="center">&nbsp;</th>
            <th><?php echo WFText::_('WF_LABEL_NAME'); ?></th>
            <th width="10%" align="center"><?php echo WFText::_('WF_LABEL_VERSION'); ?></th>
            <th width="15%" align="center"><?php echo WFText::_('WF_LABEL_DATE'); ?></th>
            <th width="25%" align="center"><?php echo WFText::_('WF_LABEL_AUTHOR'); ?></th>
        </tr>
    </thead>
    <tbody>
<?php foreach ($this->plugins as $plugin) : ?>
            <tr>
                <td width="20px" align="center"><input type="checkbox" name="pid[]" value="plugin.<?php echo $plugin->name; ?>" /></td>
                <td><?php echo WFText::_($plugin->title); ?></td>
                <td align="center"><?php echo @$plugin->version != '' ? $plugin->version : '&nbsp;'; ?></td>
                <td align="center"><?php echo @$plugin->creationdate != '' ? $plugin->creationdate : '&nbsp;'; ?></td>
                <td>
                    <span class="editlinktip tooltip" title="<?php echo WFText::_('WF_LABEL_AUTHOR_INFO'); ?>::<?php echo $plugin->authorUrl; ?>">
    <?php echo @$plugin->author != '' ? $plugin->author : '&nbsp;'; ?>
                    </span>
                </td>
            </tr>
    <?php endforeach; ?>
    </tbody>
</table>